package com.spic.business.riskbase.domain;

import com.spic.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 风险库对象 risk_temp
 * 
 * @author ruoyi
 * @date 2023-04-14
 */
public class RiskTemp
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String deptId;

    /** 部门及其下属部门 */
    private List<Long> deptIds;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String workTask;

    /** 作业步骤 */
    @Excel(name = "作业步骤")
    private String workStep;

    /** $column.columnComment */
    @Excel(name = "作业步骤")
    private String dangerSource;

    /** $column.columnComment */
    @Excel(name = "作业步骤")
    private String riskDescription;

    /** $column.columnComment */
    @Excel(name = "作业步骤")
    private String riskAnalyse;

    /** 后果及影响 */
    @Excel(name = "后果及影响")
    private String riskResultAffect;

    /** $column.columnComment */
    @Excel(name = "后果及影响")
    private String riskL;

    /** $column.columnComment */
    @Excel(name = "后果及影响")
    private String riskE;

    /** $column.columnComment */
    @Excel(name = "后果及影响")
    private String riskC;

    /** $column.columnComment */
    @Excel(name = "后果及影响")
    private String riskD;

    /** 风险等级 */
    @Excel(name = "风险等级")
    private String riskGrade;

    /** 作业单元风险等级 */
    @Excel(name = "作业单元风险等级")
    private String riskUnitGrade;

    /** 管控措施 */
    @Excel(name = "管控措施")
    private String controlMeasure;

    /** 转换应用情况 */
    @Excel(name = "转换应用情况")
    private String regulationInfo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setWorkTask(String workTask) 
    {
        this.workTask = workTask;
    }

    public String getWorkTask() 
    {
        return workTask;
    }
    public void setWorkStep(String workStep) 
    {
        this.workStep = workStep;
    }

    public String getWorkStep() 
    {
        return workStep;
    }
    public void setDangerSource(String dangerSource) 
    {
        this.dangerSource = dangerSource;
    }

    public String getDangerSource() 
    {
        return dangerSource;
    }
    public void setRiskDescription(String riskDescription) 
    {
        this.riskDescription = riskDescription;
    }

    public String getRiskDescription() 
    {
        return riskDescription;
    }
    public void setRiskAnalyse(String riskAnalyse) 
    {
        this.riskAnalyse = riskAnalyse;
    }

    public String getRiskAnalyse() 
    {
        return riskAnalyse;
    }
    public void setRiskResultAffect(String riskResultAffect) 
    {
        this.riskResultAffect = riskResultAffect;
    }

    public String getRiskResultAffect() 
    {
        return riskResultAffect;
    }
    public void setRiskL(String riskL) 
    {
        this.riskL = riskL;
    }

    public String getRiskL() 
    {
        return riskL;
    }
    public void setRiskE(String riskE) 
    {
        this.riskE = riskE;
    }

    public String getRiskE() 
    {
        return riskE;
    }
    public void setRiskC(String riskC) 
    {
        this.riskC = riskC;
    }

    public String getRiskC() 
    {
        return riskC;
    }
    public void setRiskD(String riskD) 
    {
        this.riskD = riskD;
    }

    public String getRiskD() 
    {
        return riskD;
    }
    public void setRiskGrade(String riskGrade) 
    {
        this.riskGrade = riskGrade;
    }

    public String getRiskGrade() 
    {
        return riskGrade;
    }
    public void setRiskUnitGrade(String riskUnitGrade) 
    {
        this.riskUnitGrade = riskUnitGrade;
    }

    public String getRiskUnitGrade() 
    {
        return riskUnitGrade;
    }
    public void setControlMeasure(String controlMeasure) 
    {
        this.controlMeasure = controlMeasure;
    }

    public String getControlMeasure() 
    {
        return controlMeasure;
    }
    public void setRegulationInfo(String regulationInfo) 
    {
        this.regulationInfo = regulationInfo;
    }

    public String getRegulationInfo() 
    {
        return regulationInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("workTask", getWorkTask())
            .append("workStep", getWorkStep())
            .append("dangerSource", getDangerSource())
            .append("riskDescription", getRiskDescription())
            .append("riskAnalyse", getRiskAnalyse())
            .append("riskResultAffect", getRiskResultAffect())
            .append("riskL", getRiskL())
            .append("riskE", getRiskE())
            .append("riskC", getRiskC())
            .append("riskD", getRiskD())
            .append("riskGrade", getRiskGrade())
            .append("riskUnitGrade", getRiskUnitGrade())
            .append("controlMeasure", getControlMeasure())
            .append("regulationInfo", getRegulationInfo())
            .toString();
    }

    public List<Long> getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(List<Long> deptIds) {
        this.deptIds = deptIds;
    }
}
